#ifndef TYPES_FRAMEBUFFER_H
#define TYPES_FRAMEBUFFER_H

#include <CODEPORTS/types.h>
#include <linux/fb.h>

struct _VIDEO_MODE
{
	int xres, yres, bits_per_pixel;
};

struct _VIDEO
{
	int descriptor;
	char *screen, *swap;
	struct
	{
    		struct fb_fix_screeninfo fixed;
    		struct fb_var_screeninfo original, current;
		struct fb_cmap palette;
		unsigned int code;
	} mode;
};

#endif
